/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.hanze.bbs.ws;

import javax.ejb.EJB;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.ejb.Stateless;
import nl.hanze.bbs.session.BbsSBLocal;

/**
 *
 * @author Herman
 */
@WebService(serviceName = "BbsWS")
@Stateless()
public class BbsWS {
    @EJB
    private BbsSBLocal ejbRef;// Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Web Service Operation")

    @WebMethod(operationName = "berekenBoete")
    public int berekenBoete(@WebParam(name = "bsn") String bsn, @WebParam(name = "snelheidsLimiet") int snelheidsLimiet, @WebParam(name = "geredenSnelheid") int geredenSnelheid) {
        return ejbRef.berekenBoete(bsn, snelheidsLimiet, geredenSnelheid);
    }
    
}
